home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Word / E-G / Edit II 127.cpt / Edit II ReadMe next >
Encoding:
Text File  |  1991-10-30  |  15.7 KB  |  370 lines  |  [TEXT/EDIT]

  1. Edit II Version 1.2.7 October 29, 1991
  2. ~~~~~~~~~~~~~~~~~~~~~
  3. Written by Kenneth Seah
  4. Copyright © 1990, 1991 by Kenneth Seah
  5. (Portions © by Symantec - Written using Think C and Capps’ Editor Toolkit)
  6.  
  7. This application is copyrighted by Kenneth Seah and is distributed as shareware.
  8. You are welcome to try out Edit II for a week or two and if you decide that it's
  9. something you want to use, send a check drawn on a US Bank or a draft for US$15
  10. made out to me at the address below, enclosing the little questionaire.  I'll
  11. answer your problems and consider bug fixes via electronic mail (InterNet, America
  12. OnLine or GEnie) if you are registered.
  13.  
  14. Otherwise, give a copy of it to a friend, enclosing this file too and trash your
  15. copy (since it takes up valuable space on your disk).
  16.  
  17. I'll consider that you have been registered once you have sent in your shareware
  18. fee.  Upgrades will be posted to America OnLine, GEnie and InterNet.  I can work
  19. out a 'site licence' fee if you need several copies installed at your place.
  20.  
  21. For commercial distribution and correspondence, please contact:
  22.  
  23. Kenneth Seah
  24. P O Box 8565
  25. Austin, TX 78713-8565
  26.  
  27. GEnie: K.SEAH
  28. America OnLine: KSeah
  29.  
  30. 0. Introduction
  31. ~~~~~~~~~~~~~~~
  32. Edit II is intended as a replacement for the Consulair Edit text editor but
  33. which alllows the use of the cursor keys on the Mac keyboard for navigation.
  34. If the extended keyboard is used, then the num lock LED will indicate whether
  35. the cursor pad or the numeric pad mode is on.  The home, end, page up, page
  36. down keys will also work, as will the delete right key.  One level of undo
  37. is supported.  You can launch Edit II by double clicking old Edit files
  38. (since Edit II uses the same creator signature as Edit, that is, EDIT).
  39. This means that you might want to rebuild the desktop after installing
  40. Edit II.
  41.  
  42. Edit II requires System Software 4.1 and above and is Multifinder-friendly.
  43.  
  44. This program is compiled using Think C 4.0.5 and uses the Capps’ Editor
  45. Toolkit.
  46.  
  47. 1. Menu Items
  48. ~~~~~~~~~~~~~
  49. Edit II works just like Consulair's Edit.  The File menu is standard and carries
  50. the usual options of New, Open, Save, Save As, Revert, Page Setup, Print, Transfer
  51. and Quit.  The Edit Menu is also standard and comes with the Undo, Cut, Copy, Paste
  52. and Clear choices.  You can also shift a selection one space to the left or right
  53. using the shift left/right menu items  The Search menu looks a lot like that in
  54. Think Pascal or C.  The Find dialog allows for searching in multiple files.
  55. Click on the multiple file checkbox and specify the file paths or click on the
  56. Use File button to specify the folder using the good old File Selection box).
  57. Quick movements to any part of the file are handled by the Go to options in the
  58. Search menu.  The Font and Size selection is made off the Options menu as submenus.
  59. Options also allows setting of tabs, autoindent choice and the creator of the
  60. saved file (defaults to EDIT).  The Windows menu allows quick selection of one
  61. of the four windows available to Edit II (sorry but this is the maximum number
  62. of editable windows so far).
  63.  
  64. The Balance item on the Edit menu will expand the selection to encompass the
  65. next enclosing set of parentheses (), braces {} or brackets [].  The Remove LFs
  66. command will remove all linefeeds even if Strip LF or SmartStrip have not been
  67. selected.  Select All will select all the text in the current window.
  68.  
  69. 2. Nice things
  70. ~~~~~~~~~~~~~~
  71. Cursor keys on the Plus and up now work (unlike in Edit).  In addition, if you
  72. have an extended keyboard, then the page up/down, home/end and delete to right
  73. (del) keys also work.  Moreover, the keypad also toggles from the num lock mode
  74. (default) to cursor mode (like on the other machines) when you hit the num lock
  75. (clear) key on the keypad.  A special CursorPad menu will appear showing the
  76. correspondence between the cursor pad and the keys on the number pad.
  77.  
  78. Hitting 'enter' on the keypad will automatically scroll to the current insertion
  79. point.
  80.  
  81. Hitting '-' on the keypad will jump around the five last insertion points.  Note
  82. that double-clicking to select a word counts as two insertion points (a quirk of
  83. Capps’) and that Edit II will cycle through all five points, even though they are
  84. the same (like at the beginning).  So if the insertion point seems stuck, keep on
  85. pressing '-'!  These jump positions are changed when text is inserted, the page,
  86. home and end keys are pressed.
  87.  
  88. The F1-F4 keys also function as undo, cut, copy and paste on the extended keyboard
  89. and the num lock light on the keyboard will show the state of the number pad.
  90.  
  91. If autoindent mode is on, then hitting option-return will move the insertion
  92. point to the start of the next line and not do the autoindent for that line.
  93.  
  94. SmartStrip is an intelligent linefeed remover in which linefeeds are removed
  95. when the file is read and replaced (after each CR or replacing each CR - depending
  96. on the input format) when the file is written back.
  97.  
  98. Strip LF invokes a linefeed removal when the file is opened (substituting CRs
  99. for linefeeds or CR/LF combinations where appropriate).
  100.  
  101. Either one or the other but not both of SmartStrip and Strip LF can be active.
  102. If neither of the modes is on then files are read in and written out without
  103. any removals or additions of linefeeds.
  104.  
  105. The New Untitled item in the Options menu selects the optional opening of an
  106. Untitled window when Edit II is double-clicked.
  107.  
  108. The Print Headers item in the Options menu chooses whether the headers are printed
  109. on the top of every page.
  110.  
  111. Holding the option key when Edit II is starting up will bring up the Standard
  112. File input box for you to select the name of a file to edit.
  113.  
  114. If you want to enter the tab or return characters in the Find dialog box,
  115. key in command-tab and command-return respectively.
  116.  
  117. If MultiFinder is running then the right hand side of the window is moved in
  118. to show the disk drive and trash icons (like MS Word).  Also the 'MF' after
  119. the version number simply indicates that MultiFinder is running.
  120.  
  121. 3. GREP searching and replacement
  122. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123. GREP searching can be now done using regular expressions like the Unix GREP tool.
  124. Pattern matching of regular expressions is carried out as follows:
  125.  
  126. Patterns (regular expressions)
  127.  
  128. 1. Any non-special character is a regular expression which matches itself.
  129.    Characters [ ] \ and . are special characters and should be
  130.    preceded by \ (see rule 4).
  131.  
  132. 2. A regular expression can be concatenated with another regular expression.
  133.  
  134. 3. The . (period) is a special character which matches any one character.
  135.  
  136. 4. The \ followed by any character except ( ) < > or one of the digits 1-9
  137.    is a regular expression which matches that character.
  138.  
  139. 5. A string of characters s surrounded by brackets [ ] forms a regular
  140.    expression that exactly matches any one of the characters in s.  The
  141.    regular expression [^ß] matches any character not in the string ß.
  142.    If a string of 3 characters a-b occurs in the string, then this represents
  143.    all the characters from a to b inclusive.
  144.  
  145. 6. A regular expression R followed by * forms a regular expression which matches
  146.    zero or more occurences of R.
  147.  
  148. 7. A regular expression surrounded by \( and \) matches whatever the regular
  149.    expression matches.
  150.  
  151. 8. A \ followed by a digit n 1 to 9 is a regular expression which matches
  152.    whatever the nth subexpression surrounded by \( \) matches.
  153.  
  154. 9. A regular expression surrounded by \< and \> constrains the match to
  155.    occur when the regular expression is immediately preceded and followed
  156.    by characters which do not match [A-Za-z0-9_] and the first and last
  157.    characters match [A-Za-z0-9_].  This allows us to look for "words".
  158.  
  159. 10. A regular expression which starts with ^ anchors the search pattern to
  160.     the start of a line.  The ^ appearing anywhere else in the regular
  161.     expression will match the ^.
  162.  
  163. 11. A regular expression ending in $ will anchor the search pattern to the
  164.     end of a line.  The $ appearing anywhere else in the regular
  165.     expression will match the $.
  166.  
  167. Replacements
  168.  
  169. 1. Each occurence of & in the replacement string will be substituted with
  170.    whatever was last matched by the regular expression.
  171.  
  172. 2. Each occurence of the form \n where n is a digit 1 to 9 will substitute
  173.    whatever was matched by the nth subexpression enclosed in \( and \).
  174.  
  175. 3. Each occurence of the form \p where p is not a digit 1 to 9 will
  176.    substitute that character p.
  177.  
  178. 4. Multiple File Searching
  179. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  180. Clicking on the Multi-File Search checkbox in the Find dialog box will bring
  181. up another dialog box in which you can key in path names in which to search
  182. for files.  A path name is formed by listing the folders separated by colons,
  183. starting with the volume name, such as HD20:Correspondence:MyMail:*.  The * and
  184. ? symbols can be used (like in Unix) to match wildcard strings and single
  185. characters.  To enter several search paths, key in command-return after each one.
  186. The Use File button in the Multi-File path specification dialog allows you to
  187. keep a list of pathnames in a file (with the suffix .PATHS) for easy usage.
  188. The names of the files in the path are not case sensitive.
  189.  
  190. 5. Creator names
  191. ~~~~~~~~~~~~~~~~
  192. EDIT: Consulair Edit (and Edit II)
  193. MPS : Apple MPW
  194. KAHL: Think C
  195. PJMM: Think Pascal
  196. ALFA: Alpha
  197. MACA: MacWrite
  198. MSWD: Microsoft Word
  199. nX^n: WriteNow
  200. ttxt: TeachText
  201. PEDT: DA Edit or PEdit
  202. WNGZ: WingZ
  203.  
  204. Additional creator names can be inserted into the Creator menu by using ResEdit
  205. (use at your own risk!!).  Note that exactly FOUR letters must be keyed in for
  206. each creator name.
  207.  
  208. 6. Workarounds
  209. ~~~~~~~~~~~~~~
  210. Edit II can only search for a pattern in a forward direction.  If you want to
  211. search backwards, the best workaround is to go back to the start of the file
  212. (home) and then search.
  213.  
  214. All files are edited in memory.  So if you have a large file, reset the size of
  215. the application using Get Info on the Edit II application icon and change the
  216. size of the application memory. Or better still - run under the Finder (and not
  217. MultiFinder).  Naturally you shouldn't edit a 2MB file on a 1MB Mac using
  218. Edit II!
  219.  
  220. 7. Bug Reports
  221. ~~~~~~~~~~~~~~
  222. If you find any bugs with this program, please write to me at the above address.
  223. You can also E-mail me on GEnie as K.SEAH or on America OnLine as KSeah.
  224.  
  225. 8. Warranty
  226. ~~~~~~~~~~~
  227. Kenneth Seah hereby disclaims all warranties relating to this software, whether
  228. express or implied, including without limitation any implied warranties of
  229. merchantability or fitness for a particular purpose.  Kenneth Seah will not be
  230. liable for any special, incidental, consequential, indirect or similar damages
  231. due to loss of data or any other reason, even if Kenneth Seah or an agent of his
  232. has been advised of the possibility of such damages.  In no event shall Kenneth
  233. Seah's liability for any damages ever exceed the price paid for the license
  234. to use software, regardless of the form of the claim.  The person using the
  235. software bears all risk as to the quality and performance of the software.
  236.  
  237. 9. Questionaire
  238. ~~~~~~~~~~~~~~~
  239. Copy, print this and fill in the blanks!
  240.  
  241. REGISTERING FOR: Edit II Version 1.2.7 October 29, 1991
  242.  
  243. NAME:
  244.  
  245. ADDRESS:
  246.  
  247.  
  248.  
  249. CITY:                         STATE:                ZIP:
  250.  
  251. ELECTRONIC MAIL ADDRESSES (GEnie, InterNet, Compu$erve, AppleLink, America OnLine):
  252. [For updates and bug reports]
  253.  
  254.  
  255. Macintosh you have:
  256.  
  257. Current version of your System Software:
  258.  
  259. Comments about Edit II (add more space if desired!):
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267. >>> Don't forget the US$15 shareware fee <<<
  268.  
  269. Version History
  270. ~~~~~~~~~~~~~~~
  271. 1.2.7 (10/29/91) "Lean, mean and 32bit clean"
  272. ~~~~~
  273. We're now 32bit clean!  Thanks to Rich Siegel at Symantec's Think Division for
  274. a 32bit clean version of Capps'.  No, you didn't miss 1.2.5 and 1.2.6!
  275. *** New Features ***
  276. • You might want to rebuild the Desktop since I've included some colored icons
  277. for System 7.0.  The black 'n white icon has been slightly modified (added a pixel).
  278. • Size menu now friendlier under System 7.0, especially with TrueType/ATM fonts.
  279. • Larger and Smaller font size options added.
  280. • Reversed the version history in the ReadMe file so that the latest is at the top!
  281. *** Bugs fixed ***
  282. • Copy & Cut now not restricted to 32K of text (you should have sufficient space
  283. though, a check is made to ensure that twice the space is available - may be a
  284. bad heuristic but it seems to work ok).
  285. • Doing a Copy followed by closing the window did not transfer the stuff copied
  286. to the system scrap.  This has been fixed.
  287. • Slight rearrangement (again) of the command key equivalents.  Select All is now
  288. cmd-A, Find Again is now cmd-D.
  289.  
  290. 1.2.4 (09/14/91) Maintenance Release
  291. ~~~~~
  292. *** Bugs fixed ***
  293. • GetEditPrefs: IOError=-39 when trying to read pre-1.2.3 EditPrefs file (file
  294. size different)
  295. • Does not crash under UniFinder, now uses WaitNextEvent exclusively.
  296.  
  297. 1.2.3 (08/24/91)
  298. ~~~~~
  299. • EditPrefs file now contains print headers flag, number of spaces per tab.
  300. • Close now has cmd-W as the command key.  Consequently, Replace is now cmd-R,
  301. Replace and Find Again is cmd-Y, Page Setup is cmd-; and Print is cmd-P.
  302. • Print headers on each page is now optional.
  303. • Number of spaces per tab is now a global value and can be saved as a preference.
  304. This means that Set Tabs... will affect all future new windows and can be saved
  305. into the EditPrefs file.
  306. • The '-' key on the keypad now acts as a jump to previous insertion points (last 5).
  307. *** Bugs fixed ***
  308. • File list under Windows updates when an Untitled window is saved and when a
  309. window is Saved As another name.
  310.  
  311. 1.2.2 (05/17/91) Maintenance release.
  312. ~~~~~
  313. *** Bugs fixed ***
  314. • Existing clipboard contents are read in when the program starts.
  315.  
  316. 1.2.1 (05/16/91) Maintenance release.
  317. ~~~~~
  318. *** Bugs fixed ***
  319. • Cursor updating now done via MultiFinder 'cursor moved' event rather than
  320. everytime through the main event loop (cosmetic 'bug' since I noticed that the
  321. cursor would 'stick' to the arrow when moving very rapidly from the scroll bar
  322. to the editing window).
  323. • Clipboard contents are updated when the program is quit.
  324.  
  325. 1.2 (05/04/91)
  326. ~~~
  327. • EditPrefs file now includes a flag for New Untitled to optionally open a new
  328. untitled window on startup.  Default is to open the Untitled window.
  329. *** Bugs fixed ***
  330. • Selecting Quit from File menu and then selecting Cancel from the 'Save changes
  331. before quitting?' dialog would quit to the Finder anyway.
  332. • Now saves ETAB and EFNT information (tab/space and font/size resources) to the
  333. file if this is changed during edit.
  334.  
  335. 1.1 (04/05/91)
  336. ~~~
  337. • EditPrefs file in the Preferences folder of the System Folder now contains the
  338. setup of the options, font, size and creator which were saved last.  Default
  339. settings are: the following options are enabled (Auto Indent and SmartStrip),
  340. font is Monaco, size is 9 and creator is EDIT.  Preferences file is not created
  341. if System Folder is on a locked disk (e.g. network server or locked local disk).
  342. • Balance command added to Edit menu to balance parentheses, braces and
  343. brackets.
  344. • Remove LFs command added to Edit menu to remove all linefeeds from window,
  345. if Strip LF or SmartStrip are not selected.
  346. • Select All added to Edit menu.
  347. *** Bugs fixed ***
  348. • Typing the letter ‘O’ while in CursorPad mode would cause a cursor down
  349. operation in 1.0.2.
  350. • If Caps Lock key is down (and the Caps Lock LED is on) then hitting
  351. num lock to set CursorPad mode would turn off the Caps Lock LED.
  352. • NumLock LED would stay on when printing from the Finder.
  353. • ID=12 Bomb eliminated on quit from Edit II, due to calling non-existent ADB
  354. routines on Mac Plusses and below.
  355. (Operational tweak: removed Think's ANSI library to save a lot of space!)
  356.  
  357. 1.0.2 (11/20/90)
  358. ~~~~~
  359. • Now recognizes the extended keyboard del, home, end, pgup and pgdn keys
  360. while in the Cursor Pad mode.
  361. • Fixed toggling of LEDs.
  362. • Added Enter Selection menu item in Search menu to allow for copying of
  363. the selected text into the Search String box in the Find dialog (a la Think C).
  364. You can enter the selected text and then use Find Again to look for
  365. its next occurence.
  366.  
  367. 1.0.1 (10/09/90)
  368. ~~~~~
  369. First release.
  370.